#include "event/loop.hpp"
#include "network/stdio_stream.hpp"

using namespace ibox::event;
using namespace ibox::network;

int main() {
    auto loop = Loop();

    StdinStream stdin{&loop};
    StdoutStream stdout{&loop};

    stdin.bind(&stdout);

    stdout.enable();
    stdin.enable();

    loop.run();
}
